Server Watch Plugin SDK Date: 6 Feb 2004
Release: 1.0
Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

DFNetUtil.h

Go to the documentation of this file.
00001 /* 00002 DFNetUtil.h 00003 Copyright (c) 2000-2004, Deep Fried Software. All rights reserved. 00004 */ 00005 00006 #if !defined(AFX_NETUTIL_H__EFB90F60_9FD9_11D5_9614_0040333C2E7E__INCLUDED_) 00007 #define AFX_NETUTIL_H__EFB90F60_9FD9_11D5_9614_0040333C2E7E__INCLUDED_ 00008 00009 #ifdef SWSERVICES_EXPORTS 00010 #define SWSERVICES_API __declspec(dllexport) 00011 #else 00012 #define SWSERVICES_API __declspec(dllimport) 00013 #endif 00014 00015 #if _MSC_VER > 1000 00016 #pragma once 00017 #endif // _MSC_VER > 1000 00018 00019 #include "stdafx.h" 00020 00021 enum SWRESULT; 00022 00026 class SWSERVICES_API DFNetUtil 00027 { 00028 #pragma warning( push ) 00029 #pragma warning( disable : 4251 ) 00030 00031 public: 00032 DFNetUtil(); 00033 virtual ~DFNetUtil(); 00034 00043 static SWRESULT getServerFromString( LPCTSTR strAddr, ULONG &lServer ); 00044 00053 static SWRESULT getStringFromWinsockError( int iErr, CAtlString &strMsg ); 00054 00055 #pragma warning( pop ) 00056 }; 00057 00058 #endif // !defined(AFX_NETUTIL_H__EFB90F60_9FD9_11D5_9614_0040333C2E7E__INCLUDED_)


Copyright (c) 2003-2004, Deep Fried Software. All rights reserved.